package com.lagou.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * value指定服务名称/应用名称
 */
@FeignClient(value = "lagou-service-resume")
public interface ResumeClient {

    @RequestMapping("/resume/defaultResumeOpenState/{userId}")
    public Integer findDefaultResumeOpenState(@PathVariable("userId") Long userId);

}
